package cn.bdqn.service;

import java.util.List;

import cn.bdqn.pojo.Provider;
import cn.bdqn.util.PageBean;

public interface ProviderService {
	
	PageBean<Provider> findByPage(int pageNo,int pageSize,String providerName,String providerCode);

	Provider findByCode(String proCode);

	boolean updateByProvider(Provider provider);

	boolean addProvider(Provider provider);

	boolean checkProCode(String proCode);
	
	List<Provider> findAll();

	Object deleteById(Integer id);

	
}
